function init_global_filing

% initialize values for global variables

global NUMBER_OF_EVENTS LENGTH BIG TNOW MAINT_COST REPAIR_COST SALES_REVENUE EXP_RATE 
global  MEAN_PROD_TIME A3 B3 B U L MU STATES_MAX NET_ITERMAX ISTAR SHAPE1 SCALE1
% types of events 1=termination; 2=produce;3=repair; 4=maintenance 

global ENCODER_UL_PC % upper limit for encoder for likely value of production count in neuron

global EMP_DIST

EMP_DIST=[0.0000,0.0012,0.0027,0.0049,0.0079,0.0111,0.0150,0.0196,0.0248,0.0306,...
    0.0370,0.0441,0.0517,0.0600,0.0689,0.0783,0.0884,0.0992,0.1105,0.1217,0.1224]

ISTAR=1;
ENCODER_UL_PC=20;

NET_ITERMAX=2;
NUMBER_OF_EVENTS = 4; 

LENGTH=200000;

BIG=10000001; % has to be bigger than LENGTH 

STATES_MAX=30;

TNOW=0;

% gamma distribution for time between failures: defined by (shape,scale)
% where mean =shape*scale (in days); variance =shape*(scale*scale) (in
% days-squared)




% Following are parameters of the uniform distribution for maintenance time

U=1;

L=2;





MEAN_PROD_TIME=1;

% Following parameters from unif distribution for repair time

A3=2;

B3=4;





MAINT_COST=20; % cost of one maintenance in dollars

REPAIR_COST=80; % cost of one repair in dollars

SALES_REVENUE=800;

EXP_RATE=0.2;


